﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace DataLayer {
    [XmlType("Spell")]
    public class DataSpell {
        public string Name;
        [XmlAttribute]
        public int Rank;
        [XmlAttribute]
        public SpellType SpellType;
        public double CastingTime;
        public int ManaCost;
        public CostType CostType;
        public double DirectMeanValue;
        public double DirectMeanRange;
        public double OvertimeValue;
        public double TicksLength;
        public double Duration;
        public double Cooldown;
        public double Coefficient;
        public double OTCoefficient;
        public string SharedCooldowns;
        [XmlAttribute]
        public SpellSchool SchoolUsed;
    }
}
